toggleSubmit = function(obj){
	if($.trim(obj.value) != ''){
		$('input[type="submit"]').removeAttr('disabled');
	}else{
		$('input[type="submit"]').attr('disabled','disabled');
	}
};
displayMessages = function(message){
	$.Dialog({
        shadow: true,
        overlay: false,
        icon: false,
        title: 'Message Details',
        width: 500,
        padding: 10,
        content: message
    });
};
